package variable;

public class variable1 {
    public static void main(String[] args) {
        //int 整数
        //double 小数
        int age =23;
        System.out.println(age);
        double score =99.5;
        System.out.println(score);

        System.out.println("----------------------------");

        int age2 =18;
        System.out.println(age2);

        System.out.println("----------------------------");

        age2 =19;
        System.out.println(age2);
        age2 =age2 + 1;
        System.out.println(age2);

        System.out.println("----------------------------");

        double money =9.5;
        System.out.println(money);

        System.out.println("----------------------------");

        money = money + 10;
        System.out.println(money);

        System.out.println("----------------------------");

        money = money - 5;
        System.out.println(money);

        System.out.println("----------------------------");





    }
}
